// pages/resource-view/statistics/viallage-count/index.js
const app = getApp();
const { AskComponent } = app._require("common/index");
AskComponent({
  /**
   * 组件的属性列表
   */
  properties: {
    list:{
      type: Array,
      value: [],
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
  },
  lifetimes: {
    attached() {
    },
  },

  /**
   * 组件的方法列表
   */
  methods: {

    viewclick(e){
      const id = e.currentTarget.dataset.id
      wx.navigateTo({
        url: '/pages/resource-view/statistics/village-details/index?id=' + id,
      })
    }
  },
});
